$(function() {
		
	receive = function receive(oId){
		$.ajax({
			type: "POST",
			data: {oId:oId},
			url: "../orders/receive",
			success : function(data){
				$("#"+oId).empty();
			}
		});
	}
	
	refuse = function refuse(oId){
		$.ajax({
			type: "POST",
			data: {oId:oId},
			url: "../orders/refuse",
			success : function(data){
				$("#"+oId).empty();
			}
		});
	}
	
	

		
	
});

